<?php
/*
 * Plugin Name: Option Plugin
 * Plugin URI: http://nguyenanhduc.com
 * Description: Plugin for displaying options
 * Author: anhduc.bkhn
 * Version: 1.0
 * Author URI: http://nguyenanhduc.com
 */
function option_adminPage(){
    include 'option_adminpage.php';
}
function option_plugin(){
    //add to admin page
    add_options_page('Option Plugin','Option Plugin',2,'Option_Plugin','option_adminPage');
}
add_action('admin_menu', 'option_plugin');
?>
